package org.wkg.lesson01;

public class MyRunnable implements Runnable {


    @Override
    public void run() {
        while (true) {
            try {
                Thread.sleep(1000);
                System.out.println("MyRunnable运行中....");
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }

    }
}
